from http import HTTPStatus
import dashscope
dashscope.api_key = ''
import re

def tyqw(question):
    response = dashscope.Generation.call(
        model='qwen-max',
        messages=[
            {"role":"system","content":'''

'''},
            {"role":"user","content":question}],
        seed=1234,
        top_p=0.8,
        result_format='message',
        enable_search=False,
        max_tokens=1500,
        temperature=0.85,
        repetition_penalty=1.0
    )
    return response

